﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<nsadv.Statistic.Web.ViewModels.SecurityInfo>" %>

	<div id="loginscreen"><div id="logincontainer">

	<form action="<%: Url.Action("Logon", "Account", null) %>" method="post">
        <table id="loginform">
            <tr><td>
            <input id="login" name="UserName" type="text" value="<%: (Model.IsAnonymouse ? "Логин" : Model.User.Name) %>"/>
            </td>
            <td><input id="loginbtn" type="image" src="../../Content/img/loginbtn.png" value="Логин"/></td></tr>
            <tr><td>
            <input id="pswd" name="Password" type="password" value="Пароль" />
            </td><td>
            <a href="#" class="dashed">Забыли пароль</a></td></tr>
			<input name="backUrl" type="hidden" value="<%: Request.RawUrl %>" />
        </table>
	</form>
	<a id="closeform" href="#">X</a>
	</div></div>